import $ from 'jquery';

//加载css文件
import '@/css/index.css'
import '@/css/index.less'
import cancel from './images/cancel.png'

$('.box').attr('src',cancel);

$(function () {
    //odd奇数选择器v
    $('li:odd').css('background-color','yellow')
    //even偶数选择器
    $('li:even').css('background-color','green')
});

//验证babel装饰器是否生效
function info(target) {
    target.info='person info~~~'
}

@info
class Person{}

console.log(Person.info)